package com.esa.tois;

import java.io.IOException;
import java.net.UnknownHostException;
import java.util.List;

import org.xml.sax.SAXException;

import com.esa.doxml.CreateShowXML;
import com.esa.javabean.Course;

public class TransShow {
	private Transmit       ctis;
	private CreateShowXML   cdx;
	
	public TransShow() throws UnknownHostException, IOException{
		ctis=new Transmit();
		cdx=new CreateShowXML();
	}
	public void trans(List<Course> list) throws IOException, SAXException{
		ctis.transmitXML(cdx.createFile(list));
}
}